<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/24 0024
  Time: 21:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>编辑预约详情</title>
    <link type="text/css" rel="stylesheet" href="fontsawesome/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="css/style.css"/>
</head>
<body>
<div class="main_box">
    <div class="cont_box editpro_box">
        <form action="#" method="post" id="sid">
            <ul class="addpro_box">
                <li>
                    <input type="hidden" name="sid" value="${sub1.sid}" readonly/>
                    <label>预约用户：</label>
                    <input type="text" name="sname" value="${sub1.sname}" readonly/>
                </li>
                <li>
                    <label>手机号：</label>
                    <input type="text" name="phone" value="${sub1.phone}" readonly/>
                </li>
                <li>
                    <label>预约车辆：</label>
                    <input type="text" name="car" value="${sub1.car}" readonly/>
                </li>
                <li>
                    <label>品牌型号：</label>
                    <input type="text" name="brand" value="${sub1.brand}" readonly/>
                </li>
                <li>
                    <label>车辆指导价：</label>
                    <input type="text" name="price" value="${sub1.price}" readonly/>
                </li>
                <li>
                    <label>预约服务：</label>
                    <select name="cserver">
                        <option <c:if test="${sub1.cserver=='2'}">selected</c:if> value="2">  普洗 </option>
                        <option <c:if test="${sub1.cserver=='3'}">selected </c:if> value="3">  急速精洗</option>
                        <select>
                </li>
                <li>
                    <label>预约时间：</label>
                    <input type="text" name="cregtime" value="${sub1.cregtime}" readonly/>
                </li>
                <li>
                    <label>提交预约时间：</label>
                    <input type="text" name="submit_regtime" value="${sub1.submit_regtime}" readonly/>
                </li>
                <li>
                    <label>状态：</label>
                    <select name="status">
                        <option <c:if test="${sub1.status=='0'}">selected</c:if> value="0">  已预约 </option>
                        <option <c:if test="${sub1.status=='1'}">selected </c:if> value="1">  已服务</option>
                    </select>
                </li>
                <li>
                    <label>备注：</label>
                    <textarea rows="3" name="remark">${sub1.remark}</textarea>
                </li>
            </ul>
            <div class="probtn_box clearfix">
                <input type="button" value="保存修改" class="btn blue_btn submit"/>
            </div>
        </form>
    </div>
</div>
<!--javascript include-->
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/jquery.form.min.js"></script>
<script src="js/other.js"></script>
<script>
    $(function(){
        $("body").other({formId:"#sid",formUrl:"${pageContext.request.contextPath}/update"});//formUrl 表单请求地址
    });
</script>
</body>
</html>